var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { jsx as _jsx } from "react/jsx-runtime";
import { PureComponent } from "react";
import { TreeView } from "devextreme-react/tree-view";
import DevTreeDefaultHoc from "./DefaultHoc";
/**
 * ## 基于DevExpress TreeView的二封组件
 * ~~~js
 * import { DevTree } from '@/cpas-ui';
 * ~~~
 * [TreeView连接](https://js.devexpress.com/Documentation/ApiReference/UI_Components/dxDataGrid/)
 *
 * ### 介绍
 * 1. <DevTree.Default/> : 封装默认通用配置，提供树通用功能的基础组件。
 * 2. <DevTree.Sort/>: 树组件节点拖拽，待做
 */
export class DevTree extends PureComponent {
    static Default;
}
let DevTreeDefault = class DevTreeDefault extends PureComponent {
    render() {
        return _jsx(TreeView, { ...this.props });
    }
};
DevTreeDefault = __decorate([
    DevTreeDefaultHoc
], DevTreeDefault);
export { DevTreeDefault };
export default DevTree;
